aboutsummaryrefslogtreecommitdiff
path: root/src/pages/create/[board]/[tid].astro
blob: f26c0d4da3f87a7664bfa2d676cf3ac25574e58e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
---
import '../../../styles/blackbox.css';

import Default from '../../../layouts/Default.astro';
import Form from '../../../components/Form.astro';

const { board, tid } = Astro.params;
---

<Default>
  <h1>Comment</h1>

  <Form board={board} tid={tid}>
    <form id="form" method="post" action="/create/comment" onsubmit="document.getElementById('submit-button').disabled = true">
      <textarea name="CommentText" placeholder="Comment Contents" style="height: 150px; width: 350px;"></textarea>
      <br> <input id="submit-button" type="submit" value="Create Comment" />
      <input id="image" type="file" accept=".png,.jpg,.gif,.bmp,.mp4" />
    </form>
  </Form>
</Default>

<style>
  :root {
    --wdt: 360px;
    --ml: 0px;
  }
</style>